<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title>IPCLiveServer</title>
    <link rel="icon" href="favicon.png">
    <link rel="stylesheet" type="text/css" href="style.css"/>
    <script src="mpegts.js"></script>
</head>

<body>
<div class="grid-container"></div>
    <script>
        document.addEventListener('DOMContentLoaded', function () {
            if (!mpegts.getFeatureList().mseLivePlayback) {
                alert('抱歉，您的浏览器不支持此功能。请尝试使用其他浏览器或升级您的浏览器版本。');
                window.location.href = 'about:blank';
            } else {
                const script = document.createElement('script');
                script.src = 'script.js';
                document.head.appendChild(script);
            }
        });
    </script>
</body>

</html>